package com.yxw.live_vod_backend_facade.feign;

import com.yxw.live_vod_backend_facade.dto.NoticeTypeQueryDto;
import com.yxw.live_vod_backend_facade.vo.NoticeTypeVo;
import com.yxw.yxnet_cd_center.common.dto.PageVO;
import com.yxw.yxnet_cd_center.common.utils.BaseResult;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 系统消息feign
 */
@FeignClient(name = "live-vod-backend-boot", contextId = "sysNotice")
public interface SysNoticeFeignClient {

    @PostMapping("/api/backend/noticeType/pageNoticeTypeList")
    @ApiOperation(value = "查询消息通知类型列表")
    public BaseResult<PageVO<NoticeTypeVo>> pageNoticeTypeList(@RequestBody NoticeTypeQueryDto dto) ;
}
